package com.kingdee.eas.custom.hr.attendance.client;

import java.util.Date;

import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.basedata.org.AdminOrgUnitInfo;
import com.kingdee.eas.basedata.org.PositionInfo;
import com.kingdee.eas.basedata.person.PersonInfo;
import com.kingdee.eas.custom.hr.affair.fluctuation.client.InnerFluctuationEditUI;
import com.kingdee.eas.custom.hr.attendance.SpecialOperationMgrEntryInfo;
import com.kingdee.eas.hr.base.client.HRBillEditUIBiz;
import com.kingdee.eas.hr.base.client.IHRF7CommonRegister;

public class SpecialOperationMgrEditUIBiz extends HRBillEditUIBiz {

	@Override
	protected IObjectValue createNewDetailData(PersonInfo p) {
		// SpecialOperationMgrEntryInfo info = new
		// SpecialOperationMgrEntryInfo();
		// info.setPerson(p);
		// info.setPosition((PositionInfo) p.get("personselectposition"));
		// info.setAdminOrg((AdminOrgUnitInfo) p.get("primaryadminorg"));
		return null;
	}

	@Override
	protected boolean isAddPersonByF7() {
		return false;
	}

	@Override
	public void registerContextChangeF7(IHRF7CommonRegister register) {
		super.registerContextChangeF7(register);
		register
				.registerAdminByOrgRangePromptBox(((SpecialOperationMgrEditUI) this.ctx
						.getUI()).prmtAdminOrg);
	}
}
